/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package im.filters;

import im.subscriptionpackage.Subscription;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Giovanni
 */
public class EventService {

    private List subscriptions=null;

    public EventService() {
        this.subscriptions=new ArrayList();
    }

    public List subscribe(Subscription sub){

        this.subscriptions.add(sub);

        return this.subscriptions;
    }

}
